package com.lavender.annotation._dependon;

import lombok.Data;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

@Data
@Component
@DependsOn("b")
public class A {

    private String a;

    public A() {
        System.out.println("i am a.");
    }

}
